function getJsonData(filename) {
	// get the JSON file from file upload
	$.ajax({
		type : 'GET',
		url : filename,
		async : false,
		beforeSend : function(x) {
			if (x && x.overrideMimeType) {
				x.overrideMimeType('application/j-son;charset=UTF-8');
			}
		},
		dataType : 'json',
		success : function(data) {
//			alert(data.html());
			new dictionnaire(data);
		},
		error : function(e) {
			/* Invalid JSON */
			alert('Invalid JSON: ' + e.responseText);
			return null;
		}
	});
}